package config.run;

import config.WebInterceptor;
import config.WebSocketConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@MapperScan("dao")
@ComponentScan({"controller","dao","extend","pojo","service"})
@Import({WebSocketConfig.class, WebInterceptor.class})
@SpringBootApplication
public class SpringBootChatApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootChatApplication.class, args);
    }

}
